package com.mf.all.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.mf.all.utils.tree.AbstractTreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * 仓库区域
 *
 * @date 2025-04-02 22:36:45
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_warehouse_area")
public class DtoWarehouseArea extends AbstractTreeNode<DtoWarehouseArea, Integer, Integer> implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId

    private Integer id;

    /**
     * 区域父级
     */

    private Integer pid;


    /**
     * 所属仓库
     */

    private Integer warehouseId;

    /**
     * 区域名称
     */

    private String areaName;


    /**
     * 备注
     */

    private String remark;

    /**
     * 区域编号
     */

    private String code;
    /**
     * 0-禁用；1-启用
     */

    private Integer status;
    /**
     * 0-未删除；1-已删除
     */
    @TableLogic

    private Integer isDelete;
    /**
     *
     */

    private LocalDateTime createdTime;
    /**
     *
     */

    private LocalDateTime updateTime;
}
